package com.jack.configuration;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import feign.Contract;

@Configuration
public class FeignConfiguration {

	//将契约改为Feign原声的默认契约，这样可以使用Feign自带的注解
	@Bean
	public Contract feignContract(){
		return new feign.Contract.Default();
	}
}
